import os
tmp = open("./upd.py")
upd = tmp.read()
os.chdir("./music")
artists = os.listdir()
for artist in artists:
    print("/music/"+artist+"/upd.py")
    with open("./"+artist+"/upd.py","w") as file:
        file.write(upd)